from datetime import datetime
def  log_test_result(test_name,status):
    timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
    print(f"[{timestamp} [{status.upper()}] {test_name}")

log_test_result("用户登录功能测试","pass")
log_test_result("支付接口测试","fail")